package com.zhang.learnnacos.api.app2.dto;

import lombok.Data;
import lombok.NonNull;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.File;
import java.util.Calendar;

@Data
@Slf4j
@RequestMapping("/abc")
public class User2Dto<T> {
    static {
        log.info("UserDto2 static block");
    }

    /**
     * aasdf
     */
    @ToString.Exclude
    @NonNull
    private T t;

    //aaa
    //bbb
    @NonNull
    private String name;

    /**
     * asdfasdf
     */
    private String email;

    //aaa
    /*
     * asdfasdf
     */
    private String phone;

    private String age;
    @RequestMapping(value = "aa")
    public void aa(String aa,T t){
        log.info("bb");
    }

}
